/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.meuevento.business.tests;

import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;

/**
 *
 * @author Fernando Arena Varella (favarella@inf.ufrgs.br)
 */
@ManagedBean(eager=true)
@ApplicationScoped
public class PopulatorMB {

    @EJB DBPopulator dBPopulator;

    @PostConstruct
    public void populateDB(){
        dBPopulator.populateDB();
    }

}
